/**index.wxss**/
.cont_wrap {
    width: 100%;
    height: 100%;

    .nav {
        height: 100%;
        width: 100%;
        overflow: hidden;
        line-height: 70rpx;
        white-space: nowrap;

        .nav-item {
            width: 20%;
            display: inline-block;
            text-align: center;
        }

        .nav-item.active {
            color: #7D9BFF;
        }
    }

    .tab-box {
        width: 100%;
        background: greenyellow;
        margin-top: 80rpx;
        height: calc(100% - 80rpx);

        .tab-content {
            overflow-y: scroll;
        }
    }
}









